﻿using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using NewFormatProject.Infrastructure.EFCore;
using NewFormatProject.Server.Interfaces;
using Newtonsoft.Json;
using System;

namespace NewFormatProject.Api.Admin.Controllers
{
    [Route("api/[controller]/[action]")]
    [ApiController]
    public class BaseController : ControllerBase
    {
        public SysUsers _user;
        
        protected string Json(object o)
        {
            return JsonConvert.SerializeObject(o);
        }
    }
}
